package com.example.service;

import com.example.domain.Orders;

import java.time.LocalDateTime;
import java.util.List;

public interface OrderService {

    public List<Orders> selectpage(int pageCount,int pageSize);

    public int selectcount();

    public int selectcount1(Long UserId);

    public void save(Orders orders);

    public List<Orders> selectall(Long userId,int pageCount,int pageSize);
    public Orders selectbynumber(int pageCount,int pageSize,String number);

    public List<Orders> selectpagebytime(int pageCount, int pageSize, LocalDateTime beginTime, LocalDateTime endTime);

    public Orders selectbynumberandtime(int pageCount,int pageSize,String number,LocalDateTime beginTime,LocalDateTime endTime);
}
